package com.cinc.mdm.modules.material.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 财务视图
 * @Author: jeecg-boot
 * @Date:   2021-10-13
 * @Version: V1.0
 */
@ApiModel(value="mdm_material_finance_detail对象", description="财务视图")
@Data
@TableName("mdm_material_finance_detail")
public class MdmMaterialFinanceDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**物料ID*/
    @ApiModelProperty(value = "物料ID")
    private String materialId;
	/**评估类*/
	@Excel(name = "评估类", width = 15, dicCode = "mdm_assess_type")
    @ApiModelProperty(value = "评估类")
    private String assessType;
	/**价格控制*/
	@Excel(name = "价格控制", width = 15, dicCode = "mdm_price_type")
    @ApiModelProperty(value = "价格控制")
    private String priceType;
	/**移动平均价*/
	@Excel(name = "移动平均价", width = 15)
    @ApiModelProperty(value = "移动平均价")
    private java.math.BigDecimal movingAveragePrice;
	/**标准价*/
	@Excel(name = "标准价", width = 15)
    @ApiModelProperty(value = "标准价")
    private java.math.BigDecimal standardPrice;
	/**工厂*/
	@Excel(name = "工厂", width = 15, dictTable = "mdm_factory", dicText = "factory_name", dicCode = "id")
    @ApiModelProperty(value = "工厂")
    private String factoryId;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private Integer tenantId;
}
